home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15241 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.1 KB

  1. Path: news.ccs.queensu.ca!news
  2. From: Wintermute <3mal5@qlink.queensu.ca>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Help!!!  Sort of?!?!?!?
  5. Date: Thu, 04 Apr 1996 07:16:32 -0500
  6. Organization: System Infinity
  7. Message-ID: <3163BDA0.6839@qlink.queensu.ca>
  8. References: <maveryck.8.00683ACB@escape.ca>
  9. NNTP-Posting-Host: qlink.queensu.ca
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (X11; I; qlink 5.4 sun4d)
  14.  
  15. Tony Bonomo wrote:
  16. > Which language is the best all around!?!?  I know that's a one-sided question
  17. > and obviously quite subject to bias, (especially in this group ;) but I have
  18. > heard so many different stories from so many different people, and I happen to
  19. > love C++ in the first place, for too many reasons to list here, so I want some
  20. > opinions...  Marketability is great, from what I hear, portability is easy, if the
  21. > code is written properly, it is efficient, simple enough to learn (for an
  22. > experienced coder), and ...  Are these right?  Is that all?
  23.  
  24. It all depends on what you are doing, of course.  C++ is so popular nowadays, that it
  25. seems to be the language to learn.  But then again, most of the world's running code is
  26. written in COBOL (I pray to God I never have to use any...).  C and Pascal, are still
  27. around, and BASIC is making a comeback with the simplicity of its visual tools.  Turing
  28. is a more modern Pascal that has the advantage of being precisely mathematically
  29. defined; it has modern constructs such as modules and fork statements defined in the
  30. language (as opposed to the preprocessor like in C/++).
  31.  
  32. If you want a pure object-oriented language, you may have to go beyond C++ to
  33. SmallTalk.  If you are doing artificial intelligence work, you will probably need a
  34. higher level language like Lisp or Prolog (a logic language).  Or maybe a functional
  35. language like Miranda or Nial (an array-based language).
  36.  
  37. If you've only ever seen C or Pascal before, these languages will throw you.
  38. Functional language programming is different from logic programming is different from
  39. plain old imperative (procedural) programming.  You don't so much as specify how to do
  40. something as what to do.  It would be valuable to at least acquire an understanding of
  41. those sorts of concepts (ie, one functional language and one logic language, etc) if
  42. you may be doing anything beyond simple C++ coding.
  43.  
  44. Myself, I pretty much stick to C++ for all of my needs.  But then, using a C++ compiler
  45. doesn't mean you are writing well-designed, object-oriented C++ code.  Learn some
  46. software engineering techniques to improve your coding, with whatever language you are
  47. using.  Some of the higher level languages offer handy facilities such as garbage
  48. collection and strong typing.  Or, like Nial, they are untyped (everything is a nested
  49. array).  It would depend on what I was trying to do:  if I was writing a GUI, I'd use
  50. C++... if I was programming a robot, I'd use Nial or Lisp or something like that.
  51.  
  52. Good luck!
  53.  
  54. --
  55. Wintermute  <3mal5@qlink.queensu.ca>  <http://qlink.queensu.ca/~3mal5/>
  56.  
  57. "If I really knew how to write, I could write something that someone 
  58. could read and it would kill them."  -  william s. burroughs
  59.